package com.ulife.supplier.dao.dataobject;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 供应商
 * @author Administrator
 */
public class SupplierDo {
	
	private Long sId;
	private String sName;
	private String sProvince;
	private String sCity;
	private String sAddress;
	private String sCeo;
	private String sCeoPhone;
	private String sCeoEmail;
	private String sLinkman;
	private String sLinkmanPhone;
	private String sLinkmanEmail;
	private String sFax; 
	/**
	 * 0删除状态  1正常状态 2暂停供应状态
	 */
	private int sStatus;
	private Date gmtCreate;
	private Date gmtModified;
	
	public Long getsId() {
		return sId;
	}
	public void setsId(Long sId) {
		this.sId = sId;
	}
	public String getsName() {
		return sName;
	}
	public void setsName(String sName) {
		this.sName = sName;
	}
	public String getsProvince() {
		return sProvince;
	}
	public void setsProvince(String sProvince) {
		this.sProvince = sProvince;
	}
	public String getsCity() {
		return sCity;
	}
	public void setsCity(String sCity) {
		this.sCity = sCity;
	}
	public String getsAddress() {
		return sAddress;
	}
	public void setsAddress(String sAddress) {
		this.sAddress = sAddress;
	}
	public String getsCeo() {
		return sCeo;
	}
	public void setsCeo(String sCeo) {
		this.sCeo = sCeo;
	}
	public String getsCeoPhone() {
		return sCeoPhone;
	}
	public void setsCeoPhone(String sCeoPhone) {
		this.sCeoPhone = sCeoPhone;
	}
	public String getsCeoEmail() {
		return sCeoEmail;
	}
	public void setsCeoEmail(String sCeoEmail) {
		this.sCeoEmail = sCeoEmail;
	}
	public String getsLinkman() {
		return sLinkman;
	}
	public void setsLinkman(String sLinkman) {
		this.sLinkman = sLinkman;
	}
	public String getsLinkmanPhone() {
		return sLinkmanPhone;
	}
	public void setsLinkmanPhone(String sLinkmanPhone) {
		this.sLinkmanPhone = sLinkmanPhone;
	}
	public String getsLinkmanEmail() {
		return sLinkmanEmail;
	}
	public void setsLinkmanEmail(String sLinkmanEmail) {
		this.sLinkmanEmail = sLinkmanEmail;
	}
	public String getsFax() {
		return sFax;
	}
	public void setsFax(String sFax) {
		this.sFax = sFax;
	}
	public int getsStatus() {
		return sStatus;
	}
	public void setsStatus(int sStatus) {
		this.sStatus = sStatus;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getGmtCreateFormated() {
		SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		return format.format(this.getGmtCreate());
	}
	
	@Override
	public String toString() {
		return "SupplierDo [sId=" + sId + ", sName=" + sName + ", sProvince=" + sProvince + ", sCity=" + sCity + ", sAddress=" + sAddress + ", sCeo="
				+ sCeo + ", sCeoPhone=" + sCeoPhone + ", sCeoEmail=" + sCeoEmail + ", sLinkman=" + sLinkman + ", sLinkmanPhone=" + sLinkmanPhone
				+ ", sLinkmanEmail=" + sLinkmanEmail + ", sFax=" + sFax + ", sStatus=" + sStatus + ", gmtCreate=" + gmtCreate + ", gmtModified="
				+ gmtModified + "]";
	}
	
}
